package session01;

public class Main {
    public static void main(String[] args) {
        Student s1 = new Student();
        s1.studentName = "xiao";
        s1.studentNo = "01";

        Student s2 = new Student();
        s2.studentName = "ji";
        s2.studentNo = "02";

        Student s3 = new Student();
        s3.studentName = "chao";
        s3.studentNo = "03";


        Team team = new Team();


        team.addStudent(s1, 0);
        team.addStudent(s2, 1);
        team.addStudent(s3, 2);
        team.listStudents();

        Teacher t = new Teacher("xiao", "JavaEE");
        team.addTeacher(t);
        team.listTeacher();
    }
}
